package com.five.wisdomClass.service.impl;

import com.five.wisdomClass.entity.LeaveCount;
import com.five.wisdomClass.mapper.LeaveMapper;
import com.five.wisdomClass.service.ILeaveService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class LeaveServiceImpl implements ILeaveService {

    @Autowired
    LeaveMapper leaveMapper;
    // 查询当日的两种请假类型的人数
    @Override
    public List<LeaveCount> getLeaveCountByType() {
        return leaveMapper.getLeaveCountByType();
    }


}
